package com.lxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商品规格属性关联信息;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-4-14
 */
@Data
@ApiModel(value = "商品规格属性关联信息", description = "")
@TableName(value = "spu_attr_value")
@Accessors(chain = true)
public class SpuAttrValue implements Serializable {
    /**
     * 商品属性值关联信息id
     */
    @TableId(value = "spu_attr_value",type = IdType.AUTO)
    @ApiModelProperty(name = "商品属性值关联信息id", notes = "")
    private Integer spuAttrValueId;
    /**
     * 商品id
     */
    @ApiModelProperty(name = "商品id", notes = "")
    private Integer spuId;
    /**
     * 规格属性id
     */
    @ApiModelProperty(name = "规格属性id", notes = "")
    private Integer attrId;
    /**
     * 规格属性名称
     */
    @ApiModelProperty(name = "规格属性名称", notes = "")
    private String attrName;
    /**
     * 规格属性值id
     */
    @ApiModelProperty(name = "规格属性值id", notes = "")
    private Integer attrValueId;
    /**
     * 规格属性值名称
     */
    @ApiModelProperty(name = "规格属性值名称", notes = "")
    private String attrValueName;
    /**
     * 规格属性描述
     */
    @ApiModelProperty(name = "规格属性描述", notes = "")
    private String attrDesc;
}